//
//  WATFTimerCom.h
//  WiFiFaster
//
//  Created by one on 2023/12/28.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface WATFTimerCom : NSObject
+ (NSString *)watf_timeTask:(void(^)(void))task
                 start:(NSTimeInterval)start
              interval:(NSTimeInterval)interval
               repeats:(BOOL)repeats
                 async:(BOOL)async
                       name:(NSString *)name;
+ (NSString *)watf_timeTask:(id)target
              selector:(SEL)selector
                 start:(NSTimeInterval)start
              interval:(NSTimeInterval)interval
               repeats:(BOOL)repeats
                 async:(BOOL)async
                 name:(NSString *)name;
+ (void)watf_cancelTask:(NSString *)task;
@end

NS_ASSUME_NONNULL_END
